package cn.smart.mapper;

import cn.smart.pojo.Garden;
import cn.smart.pojo.GardenExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface GardenMapper {
    int countByExample(GardenExample example);

    int deleteByExample(GardenExample example);

    int deleteByPrimaryKey(Integer gid);

    int insert(Garden record);

    int insertSelective(Garden record);

    List<Garden> selectByExample(GardenExample example);

    Garden selectByPrimaryKey(Integer gid);

    int updateByExampleSelective(@Param("record") Garden record, @Param("example") GardenExample example);

    int updateByExample(@Param("record") Garden record, @Param("example") GardenExample example);

    int updateByPrimaryKeySelective(Garden record);

    int updateByPrimaryKey(Garden record);
}